package org.zhucy.design.factory;

/**
 * Created by zcy on 2018/1/25.
 *
 * @version 1.0
 */
public class PeopleFactoryTest {
    public static void main(String[] args) {
        People people = (People) PeopleFactory.getPeople(Student.class);
        people.work();
    }
}
